home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / os2 / vsoup11.zip / util.hh < prev    next >
Text File  |  1996-08-30  |  856b  |  30 lines

  1. //  $Id: util.hh 1.10 1996/08/01 12:31:14 hardy Exp $
  2. //
  3. //  This progam/module was written by Hardy Griech based on ideas and
  4. //  pieces of code from Chin Huang (cthuang@io.org).  Bug reports should
  5. //  be submitted to rgriech@ibm.net.
  6. //
  7. //  This file is part of soup++ for OS/2.  Soup++ including this file
  8. //  is freeware.  There is no warranty of any kind implied.  The terms
  9. //  of the GNU Gernal Public Licence are valid for this piece of software.
  10. //
  11. //  NNTP client routines
  12. //
  13.  
  14.  
  15. #ifndef __UTIL_HH__
  16. #define __UTIL_HH__
  17.  
  18.  
  19. #include <stdio.h>
  20.  
  21.  
  22. const char *getHeader( FILE *fd, const char *header );
  23. unsigned hashi( const char *src, unsigned tabSize );
  24. const char *extractAddress( const char *src );
  25. char *findAddressSep( const char *src );
  26. int isHeader( const char *buf, const char *header );
  27.  
  28.  
  29. #endif   // __UTIL_HH__
  30.